//
//  SINASubClassModel.h
//  sinashebao
//
//  Created by  androidlongs on 2018/3/6.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SINASubClassModel : NSObject


@property(assign,nonatomic) NSInteger itemType;

/*
 
 "subjectname": "语文",
 "name": "数学学院数学系高数1班",
 "students": 30,
 "subjectid": 7
 
 */

@property(strong,nonatomic) NSString *subjectname;
@property(strong,nonatomic) NSString *name;
@property(strong,nonatomic) NSString *students;

@property(strong,nonatomic) NSString *subjectid;

//0 无课 1有课
@property(assign,nonatomic) NSInteger ishas;


/*
 
 {
 "score": 99.5,
 "uuid": "fef0ee3efd18489881623ed1asfas4",
 "realname": "周润发",
 "status": "1001"
 }
 */

@property(assign,nonatomic) CGFloat score;
@property(strong,nonatomic) NSString *uuid;
@property(strong,nonatomic) NSString *realname;
@property(strong,nonatomic) NSString *status;




/*
 {"classifyid":6,
 "name":"数学学院数学系高数1班",
 "classifyname"："高数1班",
 "students":30}
 */

@property(strong,nonatomic) NSString *classifyid;
//@property(strong,nonatomic) NSString *name;
@property(strong,nonatomic) NSString *classifyname;
//@property(strong,nonatomic) NSString *students;


/*
 "buildname": "成教楼",
 "ischange": "0",
 "name": "高数",
 "syllabusid": 1,
 
 "searchdate": [50, 48, 49, 55, 45, 49, 49, 45, 51, 48],
 "endtime": "12:00:00 下午",
 "classroom": "304",
 "starttime": "10:00:00 上午",
 "syllabusclassid": 2
 */


@property(strong,nonatomic) NSString *buildname;
@property(strong,nonatomic) NSString *ischange;
@property(strong,nonatomic) NSString *syllabusid;
//@property(strong,nonatomic) NSString *name;

@property(strong,nonatomic) NSString *searchdate;
@property(strong,nonatomic) NSString *endtime;
@property(strong,nonatomic) NSString *classroom;
@property(strong,nonatomic) NSString *starttime;
@property(strong,nonatomic) NSString *syllabusclassid;

@property(strong,nonatomic) NSString *signTime;
//经度
@property(assign,nonatomic)  double courseLocationLat;
//纬度
@property(assign,nonatomic) double courseLocationLon;



//上课时间
@property(strong,nonatomic) NSString *classtime;
@property(strong,nonatomic) NSString *classtimeyear;
@property(strong,nonatomic) NSString *classtimemon;
@property(strong,nonatomic) NSString *classtimeDay;


/*
 {
 "collegename": "数学学院",
 "collsystemname": "数学系",
 "realname": "周润发",
 "classifyname": "高数1班"
 }
 */
@property(strong,nonatomic) NSString *collegename;
@property(strong,nonatomic) NSString *collsystemname;
//@property(strong,nonatomic) NSString *realname;
//@property(strong,nonatomic) NSString *classifyname;


-(instancetype)initWithDict:(NSDictionary *)result;
+(instancetype)userWithDict:(NSDictionary *)dict;
@end
